<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      let username = "lili";
      let info = {
        name: "lili",
      };
      let user = info;

      console.log("修改前", "info.name:", info.name, "user.name:", user.name); // lili lili

      info.name = "jack";

      console.log("修改1", "info.name:", info.name, "user.name:", user.name); // jack jack
    </script>
  </body>
</html>
